home *** CD-ROM | disk | FTP | other *** search
/ Corel Gallery (Macintosh) / Corel Gallery - Macintosh Version.bin / Corel GALLERY / Corel GALLERY.rsrc / CODE_48_•Init.txt < prev    next >
Text File  |  1994-04-29  |  26KB  |  473 lines

  1. # near model CODE resource
  2. # jump table entries: 20480-20481 (2 of them)
  3. export_2560:
  4. export_2561:
  5. 00000000  48E7 7FF8                movem.l    -[A7], D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
  6. 00000004  49FA 01AE                lea.l      A4, [PC + 0x1AE /* 000001B4, value 0x1A08, cstring "" */]
  7. 00000008  302C 0004                move.w     D0, [A4 + 0x4]
  8. 0000000C  5340                     subq.w     D0, 1
  9. 0000000E  6704                     beq        +0x6 /* 00000014 */
  10. 00000010  70FF                     moveq.l    D0, 0xFFFFFFFF
  11. 00000012  6032                     bra        +0x34 /* 00000046 */
  12. label00000014:
  13. 00000014  264D                     movea.l    A3, A5
  14. 00000016  97D4                     sub.l      A3, [A4]
  15. 00000018  2F0B                     move.l     -[A7], A3
  16. 0000001A  2F14                     move.l     -[A7], [A4]
  17. 0000001C  6100 014E                bsr        +0x150 /* 0000016C */
  18. 00000020  202C 0008                move.l     D0, [A4 + 0x8]
  19. 00000024  4874 0800                pea.l      [A4 + D0]
  20. 00000028  2F0B                     move.l     -[A7], A3
  21. 0000002A  6100 0030                bsr        +0x32 /* 0000005C */
  22. 0000002E  504F                     addq.w     A7, 8
  23. 00000030  202C 000C                move.l     D0, [A4 + 0xC]
  24. 00000034  4874 0800                pea.l      [A4 + D0]
  25. 00000038  2F0B                     move.l     -[A7], A3
  26. 0000003A  2F0D                     move.l     -[A7], A5
  27. 0000003C  6100 00D2                bsr        +0xD4 /* 00000110 */
  28. 00000040  4FEF 000C                lea.l      A7, [A7 + 0xC]
  29. 00000044  7000                     moveq.l    D0, 0x00
  30. label00000046:
  31. 00000046  4CDF 1FFE                movem.l    D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
  32. 0000004A  4E75                     rts
  33. 0000004C  8009                     or.b       D0, A1
  34. 0000004E  5F44                     subq.w     D4, 7
  35. 00000050  4154                     chk.w      D0, [A4]
  36. 00000052  4149                     chk.w      D0, A1
  37. 00000054  4E49                     trap       9
  38. 00000056  5400                     addq.b     D0, 2
  39. 00000058  0000 0000                ori.b      D0, 0x0
  40. fn0000005C:
  41. 0000005C  226F 0004                movea.l    A1, [A7 + 0x4]
  42. 00000060  206F 0008                movea.l    A0, [A7 + 0x8]
  43. 00000064  48E7 1800                movem.l    -[A7], D3,D4
  44. label00000068:
  45. 00000068  7601                     moveq.l    D3, 0x01
  46. 0000006A  7200                     moveq.l    D1, 0x00
  47. 0000006C  1218                     move.b     D1, [A0]+
  48. 0000006E  2401                     move.l     D2, D1
  49. 00000070  0241 000F                andi.w     D1, 0xF
  50. 00000074  660A                     bne        +0xC /* 00000080 */
  51. 00000076  6100 0044                bsr        +0x46 /* 000000BC */
  52. 0000007A  2200                     move.l     D1, D0
  53. 0000007C  6724                     beq        +0x26 /* 000000A2 */
  54. 0000007E  6002                     bra        +0x4 /* 00000082 */
  55. label00000080:
  56. 00000080  D241                     add.w      D1, D1
  57. label00000082:
  58. 00000082  0242 00F0                andi.w     D2, 0xF0
  59. 00000086  6608                     bne        +0xA /* 00000090 */
  60. 00000088  6100 0032                bsr        +0x34 /* 000000BC */
  61. 0000008C  2400                     move.l     D2, D0
  62. 0000008E  6002                     bra        +0x4 /* 00000092 */
  63. label00000090:
  64. 00000090  E64A                     lsr        D2.w, 3
  65. label00000092:
  66. 00000092  D3C2                     add.l      A1, D2
  67. 00000094  2801                     move.l     D4, D1
  68. label00000096:
  69. 00000096  12D8                     move.b     [A1]+, [A0]+
  70. 00000098  5384                     subq.l     D4, 1
  71. 0000009A  66FA                     bne        -0x4 /* 00000096 */
  72. 0000009C  5383                     subq.l     D3, 1
  73. 0000009E  66F2                     bne        -0xC /* 00000092 */
  74. 000000A0  60C6                     bra        -0x38 /* 00000068 */
  75. label000000A2:
  76. 000000A2  4CDF 0018                movem.l    D3,D4, [A7]+
  77. 000000A6  4E75                     rts
  78. 000000A8  8010                     or.b       D0, [A0]
  79. 000000AA  756E                     moveq.l    D2, 0x6E
  80. 000000AC  636F                     bls        +0x71 /* 0000011D */
  81. 000000AE  6D70                     blt        +0x72 /* 00000120 */
  82. 000000B0  7265                     moveq.l    D1, 0x65
  83. 000000B2  7373                     moveq.l    D1, 0x73
  84. 000000B4  5F77 6F72 6C64 0000 7000 subq.w     [[A7 + 0x6C640000] + 0x7000], 7
  85. // begin alternate branch 000000BC-000000BE
  86. fn000000BC:
  87. 000000BC  7000                     moveq.l    D0, 0x00
  88. // end alternate branch 000000BC-000000BE
  89. fn000000BC: // (misaligned)
  90. 000000BE  1018                     move.b     D0, [A0]+
  91. 000000C0  6A42                     bpl        +0x44 /* 00000104 */
  92. 000000C2  0800 0006                btst.b     D0, 0x6
  93. 000000C6  6734                     beq        +0x36 /* 000000FC */
  94. 000000C8  0800 0005                btst.b     D0, 0x5
  95. 000000CC  6720                     beq        +0x22 /* 000000EE */
  96. 000000CE  0800 0004                btst.b     D0, 0x4
  97. 000000D2  670A                     beq        +0xC /* 000000DE */
  98. 000000D4  61E6                     bsr        -0x18 /* 000000BC */
  99. 000000D6  2600                     move.l     D3, D0
  100. 000000D8  61E2                     bsr        -0x1C /* 000000BC */
  101. 000000DA  C143                     exg        D0, D3
  102. 000000DC  4E75                     rts
  103. label000000DE:
  104. 000000DE  1018                     move.b     D0, [A0]+
  105. 000000E0  E180                     asl        D0, 8
  106. 000000E2  1018                     move.b     D0, [A0]+
  107. 000000E4  E180                     asl        D0, 8
  108. 000000E6  1018                     move.b     D0, [A0]+
  109. 000000E8  E180                     asl        D0, 8
  110. 000000EA  1018                     move.b     D0, [A0]+
  111. 000000EC  4E75                     rts
  112. label000000EE:
  113. 000000EE  0200 001F                andi.b     D0, 0x1F
  114. 000000F2  E180                     asl        D0, 8
  115. 000000F4  1018                     move.b     D0, [A0]+
  116. 000000F6  E180                     asl        D0, 8
  117. 000000F8  1018                     move.b     D0, [A0]+
  118. 000000FA  4E75                     rts
  119. label000000FC:
  120. 000000FC  0200 003F                andi.b     D0, 0x3F /* '?' */
  121. 00000100  E180                     asl        D0, 8
  122. 00000102  1018                     move.b     D0, [A0]+
  123. label00000104:
  124. 00000104  4E75                     rts
  125. 00000106  8006                     or.b       D0, D6
  126. 00000108  6765                     beq        +0x67 /* 0000016F */
  127. 0000010A  745F                     moveq.l    D2, 0x5F
  128. 0000010C  726C                     moveq.l    D1, 0x6C
  129. 0000010E  0000 222F                ori.b      D0, 0x2F /* '/' */
  130. // begin alternate branch 00000110-0000011C
  131. fn00000110:
  132. 00000110  222F 0004                move.l     D1, [A7 + 0x4]
  133. 00000114  226F 0008                movea.l    A1, [A7 + 0x8]
  134. 00000118  206F 000C                movea.l    A0, [A7 + 0xC]
  135. // end alternate branch 00000110-0000011C
  136. fn00000110: // (misaligned)
  137. 00000112  0004 226F                ori.b      D4, 0x6F /* 'o' */
  138. 00000116  0008 206F                ori.b      A0, 0x6F /* 'o' */
  139. 0000011A  000C 7401                ori.b      A4, 0x1
  140. // begin alternate branch 0000011C-0000011E
  141. label0000011C:
  142. 0000011C  7401                     moveq.l    D2, 0x01
  143. // end alternate branch 0000011C-0000011E
  144. label0000011C: // (misaligned)
  145. 0000011E  7000                     moveq.l    D0, 0x00
  146. label00000120:
  147. 00000120  1018                     move.b     D0, [A0]+
  148. 00000122  670C                     beq        +0xE /* 00000130 */
  149. 00000124  6A26                     bpl        +0x28 /* 0000014C */
  150. 00000126  0880 0007                bclr.b     D0, 0x7
  151. 0000012A  E188                     lsl        D0, 8
  152. 0000012C  1018                     move.b     D0, [A0]+
  153. 0000012E  601C                     bra        +0x1E /* 0000014C */
  154. label00000130:
  155. 00000130  1018                     move.b     D0, [A0]+
  156. 00000132  6724                     beq        +0x26 /* 00000158 */
  157. 00000134  6A0E                     bpl        +0x10 /* 00000144 */
  158. 00000136  E188                     lsl        D0, 8
  159. 00000138  1018                     move.b     D0, [A0]+
  160. 0000013A  E188                     lsl        D0,